package com.wangx1n.dao;

import com.wangx1n.entity.User;

import java.util.List;

/**
 * @author WangXin
 * @date 2020/12/4 15:10
 */
public interface UserDao {
    public void addUser(User user);
    public void updateUser(User user);
    public void deleteUser(User user);
    public int selectUserCount();
    public User selectUser(Integer userId);
    public List<User> selectUsers();
    public void batchAddUser(List <Object[]> batchArgs);
    public void batchUpdateUser(List <Object[]> batchArgs);
    public void batchDeleteUser(List <Object[]> batchArgs);

}
